﻿using UnityEngine;
using System.Collections;

public class pipeUporDown : MonoBehaviour
{

    void OnCollisionEnter(Collision other)
    {
        if (other.gameObject.tag == "Player")
        {
            GameManage._intance.gameState = GameManage.GAME_END;
            AudioControl._intance.PlayAudio(AudioControl._intance.die);
        }
    }
}
